<template>
    <div style="margin: 50px auto">
        <el-button type="primary" @click="clear_local">清理缓存</el-button>
    </div>
</template>

<script>
    import _cache from "../utils/_cache";

    export default {
        name: "test",
        methods: {
            clear_local() {
                _cache.local_clear()
                _cache.session_clear()
            }
        }
    }
</script>

<style scoped>

</style>
